package com.yanming.demo.core.response;

import lombok.Data;

import java.util.List;
@Data
public class RestResultPageLayui <T> extends RestResultBase{

    private long count;
    private List<T> data;

    public RestResultPageLayui(int code, String msg) {
        super(code, msg);
    }

    public RestResultPageLayui(int code, String msg, long count, List<T> data) {
        super(code, msg);
        this.count = count;
        this.data = data;
    }


    public RestResultPageLayui(int code, String msg, long count) {
        super(code, msg);
        this.count = count;

    }


}
